package com.kingdee.eas.hr.emp;

import java.rmi.RemoteException;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.Context;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.framework.ejb.EJBRemoteException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.eas.hr.base.HRBillBaseEntry;
import com.kingdee.eas.hr.emp.app.ProbationCulturePlansEntryController;
import com.kingdee.eas.hr.emp.app.ProbationCultureStartEntryController;

public class ProbationCultureStartEntry extends HRBillBaseEntry implements IProbationCultureStartEntry{
	public ProbationCultureStartEntry()
    {
        super();
        registerInterface(IProbationCulturePlansEntry.class, this);
    }
    public ProbationCultureStartEntry(Context ctx)
    {
        super(ctx);
        registerInterface(IProbationCulturePlansEntry.class, this);
    }
    public BOSObjectType getType()
    {
        return new BOSObjectType("0F7355D0");
    }
    private ProbationCultureStartEntryController getController() throws BOSException
    {
        return (ProbationCultureStartEntryController)getBizController();
    }
	@Override
	public ProbationCultureStartEntryCollection getProbationCultureStartEntryCollection()
			throws BOSException {
		try {
            return getController().getProbationCultureStartEntryCollection(getContext());
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}

	@Override
	public ProbationCultureStartEntryCollection getProbationCultureStartEntryCollection(
			EntityViewInfo view) throws BOSException {
		try {
            return getController().getProbationCultureStartEntryCollection(getContext(), view);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}

	@Override
	public ProbationCultureStartEntryCollection getProbationCultureStartEntryCollection(
			String oql) throws BOSException {
		try {
            return getController().getProbationCultureStartEntryCollection(getContext(), oql);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}

	@Override
	public ProbationCultureStartEntryInfo getProbationCultureStartEntryInfo(
			IObjectPK pk) throws BOSException, EASBizException {
		try {
            return getController().getProbationCultureStartEntryInfo(getContext(), pk);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}

	@Override
	public ProbationCultureStartEntryInfo getProbationCultureStartEntryInfo(
			IObjectPK pk, SelectorItemCollection selector) throws BOSException,
			EASBizException {
		try {
            return getController().getProbationCultureStartEntryInfo(getContext(), pk, selector);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}

	@Override
	public ProbationCultureStartEntryInfo getProbationCultureStartEntryInfo(
			String oql) throws BOSException, EASBizException {
		try {
            return getController().getProbationCultureStartEntryInfo(getContext(), oql);
        }
        catch(RemoteException err) {
            throw new EJBRemoteException(err);
        }
	}

}
